<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$title = $_POST['newtitle'];

echo $title;
include '../../../readcookie.php';
include '../../../db.php';

$query = "INSERT INTO Event (event_title) VALUES ('$title')";
mysql_query($query) or die('Error, insert query failed');
header( 'Location: "../../../../../index2.php?plugin=extravaganza&page=single' ) ;
?>

